package com.xingchen.feima.oss;

import com.xingchen.feima.api.config.DefaultFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan({"com.xingchen.feima"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.xingchen.feima.api.client", defaultConfiguration = DefaultFeignConfig.class)
public class FeimaOssApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeimaOssApplication.class, args);
    }
}
